package com.boruan.qq.zxgylibrary.service.view;

import com.boruan.qq.zxgylibrary.base.BaseView;
import com.boruan.qq.zxgylibrary.service.model.DownOrderBean;
import com.boruan.qq.zxgylibrary.service.model.PayInfoResponse;
import com.boruan.qq.zxgylibrary.service.model.SettleDefaultAddressBean;
import com.boruan.qq.zxgylibrary.service.model.ShopCarDataBean;

import java.util.List;

/**
 * Created by 崔琦 on 2019/9/5.
 * des: ....
 */

public interface OrderView extends BaseView{

    void getDefaultAddressSuccess(SettleDefaultAddressBean.ResultBean settleDefaultAddressBean);
    void getDefaultAddressFailed(String msg);

    void getShopCarDataSuccess(List<ShopCarDataBean.ResultBean> shopCarDataBean);
    void getShopCarDataFailed(String msg);

    void userDownOrderSuccess(DownOrderBean.ResultBean orderBean);
    void userDownOrderFailed(String msg);

    void userPayNoticeSuccess(String msg);
    void userPayNoticeFailed(String msg);

    void getPayParamsSuccess(PayInfoResponse.ResultBean json);
    void getPayParamsFailed(String msg);

    void getOrderDetailSuccess(int orderStatus);
    void getOrderDetailFailed(String msg);
}
